﻿<%@ page language="C#" autoeventwireup="true" inherits="Comment, App_Web_lom2cb4c" %>

<%@ Register Src="WUC_Header.ascx" TagName="WUC_Header" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Menu.ascx" TagName="WUC_Menu" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Banner.ascx" TagName="WUC_Banner" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Footer.ascx" TagName="WUC_Footer" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_MobileMenu.ascx" TagName="WUC_MobileMenu" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Service.ascx" TagName="WUC_Service" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Article.ascx" TagName="WUC_Article" TagPrefix="MojoCube" %>

<%@ Register Src="WUC_Contact.ascx" TagName="WUC_Contact" TagPrefix="MojoCube" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">

<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta name="applicable-device" content="pc,mobile" />
    <title></title>
</head>

<body>

    <!--[if lt IE 9]>
        <script src="JS/html5shiv.min.js" type="text/javascript"></script>
        <script src="JS/respond.min.js" type="text/javascript"></script>
    <![endif]-->
    
    <script type="text/javascript">
        function ChangeImage() {
            var now = new Date();
            var number = now.getSeconds();
            document.getElementById('CodeImage').src = "Identify/CheckCode.aspx?id=" + number;
        }
    </script>
         
    <header>
    
        <!-- LOGO、语言、搜索 -->
        <MojoCube:WUC_Header id="WUC_Header" runat="server" />

        <!-- 导航菜单 -->
        <MojoCube:WUC_Menu id="WUC_Menu" runat="server" />
        
        <!-- Banner -->
        <MojoCube:WUC_Banner id="WUC_Banner" runat="server" />

    </header>

    <!-- 内容 -->
    <div class="container">
        <div class="row">

            <!-- right -->
            <div class="col-xs-12 col-sm-8 col-md-9" style="float:right">
                <div class="list_box">
                    <h2 class="left_h1"><asp:Label ID="lblTitle" runat="server" Text="在线留言" meta:resourcekey="lblTitleResource1"></asp:Label></h2>

                    <div class="feedback">
                        <form id="myform" class="form-horizontal" runat="server">

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblSubject" runat="server" Text="留言标题：" meta:resourcekey="lblSubjectResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtTitle" runat="server" CssClass="form-control" meta:resourcekey="txtTitleResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblName" runat="server" Text="您的姓名：" meta:resourcekey="lblNameResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtName" runat="server" CssClass="form-control" meta:resourcekey="txtNameResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblPhone" runat="server" Text="联系电话：" meta:resourcekey="lblPhoneResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtPhone" runat="server" CssClass="form-control" meta:resourcekey="txtPhoneResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblEmail" runat="server" Text="电子邮箱：" meta:resourcekey="lblEmailResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtEmail" runat="server" CssClass="form-control" meta:resourcekey="txtEmailResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblAddress" runat="server" Text="联系地址：" meta:resourcekey="lblAddressResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtAddress" runat="server" CssClass="form-control" meta:resourcekey="txtAddressResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-sm-3 control-label"><asp:Label ID="lblContent" runat="server" Text="留言内容：" meta:resourcekey="lblContentResource1"></asp:Label></label>
                                <div class="col-sm-6">
                                    <asp:TextBox ID="txtContent" runat="server" CssClass="form-control" TextMode="MultiLine" Rows="3" meta:resourcekey="txtContentResource1"></asp:TextBox>
                                </div>
                            </div>

                            <div class="form-group">
                                <label class="col-xs-12 col-sm-3 control-label"><asp:Label ID="lblCode" runat="server" Text="验证码：" meta:resourcekey="lblCodeResource1"></asp:Label></label>
                                <div class="col-xs-7 col-sm-2">
                                    <asp:TextBox ID="txtCode" runat="server" CssClass="form-control" meta:resourcekey="txtCodeResource1"></asp:TextBox>
                                </div>
                                <div class="col-xs-2 col-sm-1">
                                    <asp:HyperLink ID="hlChange" runat="server" ToolTip="看不清？点击换一张图片" NavigateUrl="javascript:ChangeImage();" meta:resourcekey="hlChangeResource1">
                                        <img id="CodeImage" class="codeimg" src="Identify/CheckCode.aspx" style="height:30px;" alt="" />
                                    </asp:HyperLink>
                                </div>
                            </div>

                            <div class="form-group" style="margin-top:30px;">
                                <div class="col-sm-offset-3 col-sm-10">
                                    <asp:Button ID="btnSubmit" runat="server" Text="提交留言" CssClass="btn btn-danger" onclick="btnSubmit_Click" meta:resourcekey="btnSubmitResource1" />&nbsp;
                                    <asp:Button ID="btnReset" runat="server" Text="重新填写" CssClass="btn btn-default" onclick="btnReset_Click" meta:resourcekey="btnResetResource1" />
                                </div>
                            </div>

                        </form>
                    </div>

                </div>
            </div>

            <!-- left -->
            <div class="col-xs-12 col-sm-4 col-md-3">

                <div class="left_nav" id="categories">
                    <h1 class="left_h1"><asp:Label ID="lblCategory" runat="server" Text="栏目导航" meta:resourcekey="lblCategoryResource1"></asp:Label></h1>
                    <ul class="left_nav_ul" id="firstpane" runat="server"></ul>
                </div>
                
                <!-- 新闻中心 -->
                <MojoCube:WUC_Article id="WUC_Article" runat="server" />

                <!-- 联系我们 -->
                <MojoCube:WUC_Contact id="WUC_Contact" runat="server" />

            </div>

        </div>
    </div>
    
    <!-- 底部菜单、版权信息 -->
    <footer>
        <MojoCube:WUC_Footer id="WUC_Footer" runat="server" />
    </footer>
    
    <!--手机菜单-->
    <MojoCube:WUC_MobileMenu id="WUC_MobileMenu" runat="server" />

    <!--客服面板-->
    <MojoCube:WUC_Service id="WUC_Service" runat="server" />
    
    <asp:Label ID="lblAlert1" runat="server" Text="请填写完整" Visible="False" meta:resourcekey="lblAlert1Resource1"></asp:Label>
    <asp:Label ID="lblAlert2" runat="server" Text="请填写验证码" Visible="False" meta:resourcekey="lblAlert2Resource1"></asp:Label>
    <asp:Label ID="lblAlert3" runat="server" Text="验证码错误" Visible="False" meta:resourcekey="lblAlert3Resource1"></asp:Label>
    <asp:Label ID="lblAlert4" runat="server" Text="您的留言已提交，我们会尽快阅读！" Visible="False" meta:resourcekey="lblAlert4Resource1"></asp:Label>
    <asp:Label ID="lblRequired" runat="server" Text="必填" Visible="False" meta:resourcekey="lblRequiredResource1"></asp:Label>
    <asp:Label ID="lblVerificationCode" runat="server" Text="验证码" Visible="False" meta:resourcekey="lblVerificationCodeResource1"></asp:Label>

</body>

</html>